using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Predictions
/// </summary>
public static class PredictionsMoch
{
    public static DataTable ActivePredictions()
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("Ticker", typeof(string));
        dt.Columns.Add("ShortDescription", typeof(string));
        dt.Columns.Add("CloseDate", typeof(DateTime));
        dt.Columns.Add("Value", typeof(int));
        dt.Columns.Add("Change", typeof(float));
        dt.Columns.Add("ChangePositive", typeof(bool));
        dt.Columns.Add("TradedDate", typeof(DateTime));

        DataRow dr;

        dr = dt.NewRow();
        dr["Ticker"] = "OT6.5";
        dr["ShortDescription"] = "R&D will be aksed to work paid overtime for the 6.5 release.";
        dr["CloseDate"] = new DateTime(2008, 10, 1);
        dr["Value"] = 68;
        dr["Change"] = 4.2f;
        dr["ChangePositive"] = true;
        dr["TradedDate"] = new DateTime(2008, 3, 2);
        dt.Rows.Add(dr);

        dr = dt.NewRow();
        dr["Ticker"] = "6.5SEP";
        dr["ShortDescription"] = "Contiki v 6.5 will be released in September 2008.";
        dr["CloseDate"] = new DateTime(2008, 10, 1);
        dr["Value"] = 52;
        dr["Change"] = 0.2f;
        dr["ChangePositive"] = true;
        dr["TradedDate"] = new DateTime(2008, 3, 5);
        dt.Rows.Add(dr);

        dr = dt.NewRow();
        dr["Ticker"] = "TSTJLY";
        dr["ShortDescription"] = "R&D will hire a new tester before July 2008.";
        dr["CloseDate"] = new DateTime(2008, 7, 1);
        dr["Value"] = 32;
        dr["Change"] = 2.0f;
        dr["ChangePositive"] = false;
        dr["TradedDate"] = new DateTime(2008, 2, 27);
        dt.Rows.Add(dr);

        return dt;
    }
}
